# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from rest_framework import mixins, viewsets

from .serializer import TagsSerializer
from .models import Tags
# Create your views here.


class TagsViewSet(viewsets.GenericViewSet,
                  mixins.ListModelMixin):
    queryset = Tags.objects.all()
    serializer_class = TagsSerializer
